import {mapMutations} from 'vuex'

export default {
    ...mapMutations([
		''
    ]),
	toTodayData(){
		uni.navigateTo({
			url: '/pages/index/todayData'
		})
	},
	_previewImage(image) {
		var imgArr = [];
		imgArr.push(image);
		//预览图片
		uni.previewImage({
			urls: imgArr,
			current: imgArr[0]
		});
	},
	close(){
		this.$refs.sendPopup.close()
	},
	toComment(){
		this.$refs.sendPopup.open()
	}

}